home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / misc / o-z / x-windows / mesa-amiwin / src-tk / smakefile < prev    next >
Encoding:
Makefile  |  1995-11-24  |  2.0 KB  |  84 lines

  1. # Makefile for tk toolkit
  2.  
  3. # Mesa 3-D graphics library
  4. # Version:  1.2.3
  5. # Copyright (C) 1995  Brian Paul  (brianp@ssec.wisc.edu)
  6. #
  7. # This library is free software; you can redistribute it and/or
  8. # modify it under the terms of the GNU Library General Public
  9. # License as published by the Free Software Foundation; either
  10. # version 2 of the License, or (at your option) any later version.
  11. #
  12. # This library is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. # Library General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Library General Public
  18. # License along with this library; if not, write to the Free
  19. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21.  
  22. # $Id: Makefile,v 1.7 1995/09/19 14:16:54 brianp Exp $
  23.  
  24. # $Log: Makefile,v $
  25. # Revision 1.7  1995/09/19  14:16:54  brianp
  26. # bumped version to 1.2.3
  27. #
  28. # Revision 1.6  1995/08/01  20:52:05  brianp
  29. # modified to use $(MAKELIB)
  30. #
  31. # Revision 1.5  1995/06/21  15:57:46  brianp
  32. # added IRIX 5 DSO and Linux ELF shared library targets
  33. # Release 1.2.1
  34. #
  35. # Revision 1.4  1995/05/22  17:00:00  brianp
  36. # Release 1.2
  37. #
  38. # Revision 1.3  1995/05/15  16:15:30  brianp
  39. # clean up and reorganize
  40. #
  41. # Revision 1.2  1995/04/17  13:44:32  brianp
  42. # added VPATH definition
  43. #
  44. # Revision 1.1  1995/03/26  15:13:07  brianp
  45. # Initial revision
  46. #
  47.  
  48.  
  49. ##### MACROS #####
  50.  
  51. VPATH = RCS
  52.  
  53. INCDIR = /include
  54. LIBDIR = /lib
  55. XDIR = x11:sasc
  56.  
  57. OBJECTS = cursor.o event.o font.o getset.o image.o shapes.o window.o
  58. SCFLAGS = idir=$(INCDIR) idir=$(XDIR)/include data=far idlen=63 \
  59.           nostkchk ignore=a math=68882 cpu=68040 optimize define=AMIWIN
  60.  
  61. CC = sc
  62. MAKELIB = oml -n
  63. TK_LIB = Mesatk.LIB
  64.  
  65. ##### RULES #####
  66.  
  67. .c.o:
  68.     $(CC) $(SCFLAGS) $*.c
  69.  
  70.  
  71. ##### TARGETS #####
  72.  
  73. default:
  74.     @echo "Specify a target configuration"
  75.  
  76. clean:
  77.     -delete *.o
  78.  
  79. targets: $(LIBDIR)/$(TK_LIB)
  80.  
  81. # Make the library
  82. $(LIBDIR)/$(TK_LIB): $(OBJECTS)
  83.     $(MAKELIB) $@ R $(OBJECTS)
  84.